package com.huaxingbankas.modules.model;

import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * AbstractUsers entity provides the base persistence definition of the Users
 * entity. @author MyEclipse Persistence Tools
 * @param <E>
 */

public abstract class AbstractUsers<E> implements java.io.Serializable {

	// Fields

	private String username;
	private String password;
	private Integer enabled;
	private String name;
	private String email;
	private String qq;
	private String msn;
	private Date expiredate;
	private String comments;
	private List<E> authoritieses;

	// Constructors

	/** default constructor */
	public AbstractUsers() {
	}

	/** minimal constructor */
	public AbstractUsers(String username, String password, Integer enabled,
			String name) {
		this.username = username;
		this.password = password;
		this.enabled = enabled;
		this.name = name;
	}

	/** full constructor */
	public AbstractUsers(String username, String password, Integer enabled,
			String name, String email, String qq, String msn, Date expiredate,
			String comments, List<E> authoritieses) {
		this.username = username;
		this.password = password;
		this.enabled = enabled;
		this.name = name;
		this.email = email;
		this.qq = qq;
		this.msn = msn;
		this.expiredate = expiredate;
		this.comments = comments;
		this.authoritieses = authoritieses;
	}

	// Property accessors

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getEnabled() {
		return this.enabled;
	}

	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getQq() {
		return this.qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getMsn() {
		return this.msn;
	}

	public void setMsn(String msn) {
		this.msn = msn;
	}

	public Date getExpiredate() {
		return this.expiredate;
	}

	public void setExpiredate(Date expiredate) {
		this.expiredate = expiredate;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public List<E> getAuthoritieses() {
		return this.authoritieses;
	}

	public void setAuthoritieses(List<E> authoritieses) {
		this.authoritieses = authoritieses;
	}

}